a = []

def test():
	#global a
	a = []
	a.append(123)
test()
print(a)